package com.ecoolex.hotel.saas.ws;

import com.ecoolex.framework.common.exception.BizException;
import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.framework.common.pojo.Pagination;
import com.ecoolex.hotel.saas.entity.StoreMarketing;

import java.util.List;

public interface StoreMarketingService {

    StoreMarketing get(Integer id);

    Pagination<StoreMarketing> query(String name, Integer storeId, Page page);

    List<StoreMarketing> query(Integer storeId, Integer size);

    StoreMarketing add(StoreMarketing record, String createUser) throws BizException;

    StoreMarketing edit(StoreMarketing record, String updateUser) throws BizException;

    void delete(StoreMarketing record, String updateUser) throws BizException;
}
